<?php

class Buyback_Form_Search extends Custom_Form_Abstract
{
	public function init()
	{
		$this->addElement('textarea', 'isbnList', array(
			'validators'=> array(
        		'NotEmpty'
        	),
            'cols'		=>	20,
            'rows'		=>	8,
        	'decorators' => $this->elementDecorators,
            'required'  => true,
            'label'     => 'Enter ISBNs here',
        ));
        
        $this->addElement('submit', 'search', array(
            'decorators' => $this->buttonDecorators,
        	'required' => false,
            'ignore'   => true,
            'label'    => 'Search ISBN',
        ));
	}
}